package com.flyco.modules.oms.service;

import com.flyco.modules.oms.entity.OmsOrder;
import com.flyco.modules.oms.entity.OmsOrderItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.flyco.modules.oms.model.OmsOrderItemExcel;

import java.util.List;

/**
 * @Description: 订单明细
 * @Author: flyco
 * @Date:   2019-12-10
 * @Version: V1.0
 */
public interface IOmsOrderItemService extends IService<OmsOrderItem> {

	public List<OmsOrderItem> selectByMainId(String mainId);

	Integer getFreezeProductCount(Long productId);

	List<OmsOrderItemExcel> getOrderItemList(OmsOrder order);

	List<OmsOrderItem> getOrderItemByIds(List<String> orderIds,String productName);

	OmsOrderItem getByStoreIdAndProductId(Long storeId,Long productId);

	List<OmsOrderItem> getProductOccupation(String orderId,Long partnerId);
}
